package com.nuc.ENetcom.action;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.nuc.ENetcom.entity.Stumoney;
import com.nuc.ENetcom.service.StumoneyService;
@Controller
public class EChartAction {
	@Autowired
	StumoneyService service;
	@RequestMapping("/getjine.action")
	public @ResponseBody List<Stumoney>  getjine(){
		List<Stumoney> list=null;
		try {
			list= service.getAll();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return list;
	}
}
